package com.settlement.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.settlement.system.common.base.BaseEntity;
import com.settlement.system.common.enums.MessageTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
* 上传文件表
* </p>
*
* @author huangrensen
* @since 2023-11-17
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUploadFile extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 主键
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
    * 文件类型
    */
    private String fileType = MessageTypeEnum.BILL.name();

    /**
    * 账单月份
    */
    private String billMonth;

    /**
    * 文件名称
    */
    private String fileName;

    /**
    * 文件相对路径
    */
    private String filePath;
}
